package com.ccit.service;

import com.ccit.domain.AttendanceType;
import com.ccit.domain.Time;
import com.ccit.domain.User;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Transactional
public interface UserService {


    public boolean add(User user);


    public List<User> selectAll();

    public List<Time> getTime();

    public boolean selectByUsername(String username);

    public User login(String username, String password);

    public boolean isUsernameTaken(String username);

}
